package com.example.attempt.service.impl;

import com.example.attempt.entity.Administrator;
import com.example.attempt.mapper.AdministratorMapper;
import com.example.attempt.service.AdministratorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdministratorServiceImp implements AdministratorService {

    @Autowired
    private AdministratorMapper administratorMapper;
    @Override
    public Administrator queryById(String aid) {
        System.out.println(administratorMapper.queryById(aid));
        return administratorMapper.queryById(aid);
    }
}